package com.liukai.exam.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 单项选择题题库
 * </p>
 *
 * @author liu kai
 * @since 2021-02-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ONE_CHOICE_QUESTION")
@ApiModel(value="OneChoiceQuestion对象", description="单项选择题题库")
public class OneChoiceQuestion implements Serializable {

    private static final long serialVersionUID = 1L;

        @ApiModelProperty(value = "试卷编号")
        @TableId(value = "EXAM_ID", type = IdType.ID_WORKER)
    private Long examId;

        @ApiModelProperty(value = "题目编号")
        @TableField("QUESTION_ID")
    private Integer questionId;

        @ApiModelProperty(value = "大题编号")
        @TableField("BIG_QUESTION_INDEX")
    private Integer bigQuestionIndex;

        @ApiModelProperty(value = "题目内容")
        @TableField("QUESTION_CONTENT")
    private String questionContent;

        @ApiModelProperty(value = "题目图片")
        @TableField("QUESTION_IMG")
    private String questionImg;

        @ApiModelProperty(value = "A选项")
        @TableField("A_QUESTION")
    private String aQuestion;

        @ApiModelProperty(value = "B选项")
        @TableField("B_QUESTION")
    private String bQuestion;

        @ApiModelProperty(value = "C选项")
        @TableField("C_QUESTION")
    private String cQuestion;

        @ApiModelProperty(value = "D选项")
        @TableField("D_QUESTION")
    private String dQuestion;

        @ApiModelProperty(value = "分值")
        @TableField("SCORE")
    private Double score;

        @ApiModelProperty(value = "得分")
        @TableField("END_SCORE")
    private Double endScore;

        @ApiModelProperty(value = "正确答案（A，B，C，D）")
        @TableField("TRUE_ANSWER")
    private String trueAnswer;

        @ApiModelProperty(value = "选择答案（A，B，C，D）")
        @TableField("END_ANSWER")
    private String endAnswer;

        @ApiModelProperty(value = "题目解析")
        @TableField("ANALYSIS")
    private String analysis;

        @ApiModelProperty(value = "解析图片")
        @TableField("ANALYSIS_IMG")
    private String analysisImg;

        @ApiModelProperty(value = "A选项图片")
        @TableField("A_IMG")
    private String aImg;

        @ApiModelProperty(value = "B选项图片")
        @TableField("B_IMG")
    private String bImg;

        @ApiModelProperty(value = "C选项图片")
        @TableField("C_IMG")
    private String cImg;

        @ApiModelProperty(value = "D选项图片")
        @TableField("D_IMG")
    private String dImg;


}
